package cn.kgc.service.impl;


import cn.kgc.dao.Dao_dyb;
import cn.kgc.pojo.Organization;
import cn.kgc.pojo.employment;
import cn.kgc.service.Service_dyb;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class ServiceImpl_dyb implements Service_dyb {
    @Resource
    private Dao_dyb dao_dyb;

    @Override
    public Page<employment> selEmployment(String positionName, String positionSort, String registranTime, String expirationDate) {
        return dao_dyb.selEmployment(positionName,positionSort,registranTime,expirationDate);
    }

    @Override
    public List<Organization> getOrganization() {
        return dao_dyb.getOrganization();
    }
}
